Rename stage0 profile according to policy
authorXimin Luo <infinity0@debian.org>
Thu, 20 Apr 2017 00:59:43 +0000 (02:59 +0200)
committerXimin Luo <infinity0@debian.org>
Thu, 20 Apr 2017 00:59:43 +0000 (02:59 +0200)
debian/control
debian/rules

index 71947ed2175a251d76b485670b940f20681aa796..0aa8c2e1a4b8936f23873d6f5c47574e80a2e595 100644 (file)
@@ -10,9 +10,9 @@ Build-Depends: debhelper (>= 9.20141010),
                rustc (>= 1.13),
                pkg-config,
                cmake,
-               cargo (>= 0.7.0) <!stage0>,
-               python-dulwich <stage0>,
-               python-pytoml <stage0>,
+               cargo (>= 0.7.0) <!pkg.cargo.mkstage0>,
+               python-dulwich <pkg.cargo.mkstage0>,
+               python-pytoml <pkg.cargo.mkstage0>,
                ca-certificates,
                bash-completion,
                libcurl4-gnutls-dev | libcurl4-openssl-dev,
index 588f002e09ad19edff2b46ece662723bbf8438e6..fa16496aea898390a63e731b565060b038ec7559 100755 (executable)
@@ -25,7 +25,7 @@ DEPSDIR := $(CURDIR)/deps
 
 override_dh_auto_configure:
        cp -a $(CURDIR)/Cargo.lock $(CURDIR)/.Cargo.lock.orig
-ifneq ($(filter stage0,$(DEB_BUILD_PROFILES)),)
+ifneq ($(filter pkg.cargo.mkstage0,$(DEB_BUILD_PROFILES)),)
        # Bootstrap cargo stage0
        ./debian/bootstrap.py \
                --no-clean \